package com.esun.payment_api.service;

import com.esun.payment_api.bean.DkContractBean;
import com.esun.payment_api.domain.SysDictContract;
import com.esun.payment_api.security.AjaxResult;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SysDictContractService {
    //查询全部，条件查询
    List<SysDictContract> selectByExample(Short coId, String keyword, String word);
    //单条插入
    int insertSelective(SysDictContract record);
    //根据id删除单个(软删)
    AjaxResult deleteById(Integer id);
    //根据id修改单个
    AjaxResult updateByPrimaryKeySelective(SysDictContract record);

    List<DkContractBean> claimSelectContract(Short companyId, Integer claimId, Integer customerId, String searchStr, Integer pageSize, Integer pageNum);
    //验证合同编号是否唯一
    List<SysDictContract> getSysDictContractByCode(String code);
}
